// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.BarStatisticsDao;
import com.liuxinlong.modules.entity.BarStatistics;
import com.liuxinlong.modules.mapper.BarStatisticsMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年7月19日
 */
@Service
public class BarStatisticsDaoImpl extends ServiceImpl<BarStatisticsMapper, BarStatistics> implements BarStatisticsDao {

    @Override
    public void addComments(String id) {
        baseMapper.addComments(id);
    }

    @Override
    public void addLikes(String id) {
        baseMapper.addLikes(id);
    }

    @Override
    public void reduceLikes(String id) {
        baseMapper.reduceLikes(id);
    }
}
